package com.core.reach.cloudhub.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author ga.zhang
 * @version V1.0
 * @description: TODO
 * @date 2020/3/31 20:14
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Storage implements Serializable {

    private static final long serialVersionUID = -2230359272720741506L;

    /**
     *  主键ID
     */
    private Long id;
    /**
     * 产品ID
     */
    private Long productId;
    /**
     * 总库存
     */
    private Integer total;
    /**
     * 使用库存
     */
    private Integer used;
    /**
     * 剩余库存
     */
    private Integer residue;
}
